package com.griddroid.configuration;

/**
 *This is the configuration for the Server Node.It extends the basic configuration
 *class {@link GridConfig GridConfig} and adds some configurations related to Server Node. 
 *It suggests the maximum number of workers and clients, the port range, and if we want debug messages 
 *to be printed on Server's view.
 *
 * @author Charalampos Mavroforakis
 * @author Michail Michailidis
 * @author Thomas Ailianos
 */

public class GridServerConfig extends GridConfig
{
	
	/**
	 * sets the maximum numvber of Workers ({@link GridWorker GridWorker}) connected to the server
	 */
	public static final int SERVERMAXWORKERS = 0;
	/**
	 * sets the maximum number of Clients ({@link GridClient GridClient}) connected to the server
	 */
	public static final int SERVERMAXCLIENTS = 0;
	/**
	 * is a boolean that declares if debug messages will be printed on Server's view or not.
	 */
	public static final boolean DEBUG = true;
	/**
	 * declares the minimum port of the port range that clients/workers can be bound
	 */
	public static final int SERVERMINPORT = 5000;
	/**
	 * declares the maximum port of the port range that clients/workers can be bound
	 */
	public static final int SERVERMAXPORT = 5020;
	
}
